//
//  JsColor.m
//  JsUtilitySdk
//
//  Created by Gikki Ares on 2023/4/24.
//

#import "JsColor.h"

@implementation JsColor

-(instancetype)initWithName:(NSString *)name r:(uint8_t)r g:(uint8_t)g b:(uint8_t)b {
	if(self = [super init]) {
		self.name = name;
		self.red = r;
		self.green = g;
		self.blue = b;
	}
	return self;
}

+(instancetype)morandi_ganlan {
	return [[JsColor alloc]initWithName:@"甘蓝" r:118 g:134 b:146];
}

@end
